package com.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @description:
 * @author: sksun2
 * @create: 2023-07-27
 */
@FeignClient(name = "seata-inventory")
public interface InventoryFeign {

    @RequestMapping("adjust")
    void adjust(@RequestParam("itemId")String itemId, @RequestParam("num") Integer num);
}
